<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>login</title>
		<link rel="stylesheet" type="text/css" href="css/pageChange.css" />
		<script src="js/pageChange.js"></script>
	</head>

	<body>
		<div class="control">
			<div class="item">
				<div class="active">登录</div><div>注册</div>
			</div>
			<div class="content">
			<form action="login" method="post" onsubmit="return login()">
			<!--display: block显示 display: none隐藏-->
				<div style="display: block;">
					<p>邮箱</p>
					<input id="loginEmail" type="text" placeholder="请输入邮箱" name="email"/>
					<p>密码</p>
					<input id="loginPassword" type="password" placeholder="请输入密码" name="password"/>
					<br/>
					<input type="submit" value="登录" />
				</div>
			</form>
		<form action="register" method="post" onsubmit="return reigister()">
				<div>
					<p>用户名</p>
					<input id="reigisterUsername" type="text" placeholder="请输入用户名" name="username"/>
					<p>邮箱</p>
					<input id="reigisterEmail" type="text" placeholder="请输入邮箱" name="email"/>
					<p>密码</p>
					<input id="reigisterPassword" type="password" placeholder="请输入密码" name="password"/>
					<br/>
					<input type="submit" value="注册" />
				</div>
			</form>
			
			</div>
		</div>
	</body>
</html>

